home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource1
/
program7
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-07-04
|
10KB
|
214 lines
echo off
cls
if exist getnum.exe goto BeginInstall
echo Please be sure the INSTALLATION disk is in the
echo drive, and you are logged to that drive. For
echo instance, if the disk is in Drive A, type "A:"
echo to log to that drive, then type INSTDOS.
goto TheEnd
:BeginInstall
echo The JORF Interpreter and Tutorial Version 2.1 March 20, 1993
echo .
echo This batch file will install JORF on your hard disk in a directory
echo called C:\JORF. If you wish to install on a different directory,
echo print the JORF.ME file for instructions on installing by hand.
echo .
echo ╔════════════ Installation Options ══════════════╗
echo ║ ║
echo ║ 1. Install PC Version Takes 1.3 MB ║
echo ║ ║
echo ║ 2. Install DOS-386 Version Takes 1.7 MB ║
echo ║ ║
echo ║ 3. Install Windows Version Takes 1.7 MB ║
echo ║ ║
echo ║ 4. Install All versions Takes 2.5 MB ║
echo ║ ║
echo ╚════════════════════════════════════════════════╝
echo .
getnum Please press a number, or zero to exit
if errorlevel 4 goto InstALL
if errorlevel 3 goto InstWIN
if errorlevel 2 goto Inst386
if errorlevel 1 goto InstJORF
goto exit
:InstJORF
cls
echo Installing PC Version
echo Creating \JORF Directory
mkdir c:\jorf
echo Copying JORF.ME file. You can Read this for program notes.
copy jorf.me c:\jorf
echo Copying JORF program. Type JORF to run JORF Interpreter.
copy jorf.exe c:\jorf
copy jorf.ini c:\jorf
:GetJORFDisk2
if exist jorffils.zip goto JORFDisk2
echo Please insert Disk 2 into the floppy disk drive
pause
Goto GetJORFDisk2
:JORFDisk2
echo Unzipping sample programs. Run JORF TUTORIAL for a look-see tour.
pkunzip jorffils.zip c:\jorf
pkunzip jorfhelp.zip c:\jorf
if exist jorfdocs.zip echo Unzipping Manual. Type PRINT JORFMAN.TXT to print on your printer.
if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
cls
echo ╔════════════════════ Installation Complete ════════════════════╗
echo ║ ║
echo ║ The JORF Interpreter and Tutorial are now in installed on ║
echo ║ your hard disk. To start JORF PC, CD C:\JORF and type JORF. ║
echo ║ ║
echo ║ The JORF Manual has also been installed. Just print this ║
echo ║ on any dot matrix or laser printer. The manual is about ║
echo ║ 380 pages long. It is called JORFMAN.TXT ║
echo ║ ║
echo ║ For a tour, go to the directory now and run the tutorial ║
echo ║ ║
echo ║ A> C: Change to C drive ║
echo ║ C> CD \JORF Change to JORF directory ║
echo ║ C> JORF TUTORIAL Run JORF with TUTORIAL ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════╝
Goto Exit
:Inst386
cls
echo Installing JORF-386 Version
echo Creating \JORF Directory
mkdir c:\jorf
echo Copying JORF.ME file. You can Read this for program notes.
copy jorf.me c:\jorf
echo Unzipping JORF program. Type JORF386 to run JORF 386 Interpreter.
pkunzip jorf386.zip c:\jorf
echo Unzipping sample files. Run JORF386 TUTORIAL for a look-see tour.
pkunzip jorffils.zip c:\jorf
pkunzip jorfhelp.zip c:\jorf
if exist jorfdocs.zip echo Unzipping Manual. Type PRINT JORFMAN.TXT to print on your printer.
if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
cls
echo ╔════════════════════ Installation Complete ════════════════════╗
echo ║ ║
echo ║ The JORF386 Interpreter and Tutorial are now in installed on ║
echo ║ your hard disk. To start JORF, CD C:\JORF and type JORF386. ║
echo ║ ║
echo ║ The JORF Manual has also been installed. Just print this ║
echo ║ on any dot matrix or laser printer. The manual is about ║
echo ║ 380 pages long. It is called JORFMAN.TXT ║
echo ║ ║
echo ║ For a tour, go to the directory now and run the tutorial ║
echo ║ ║
echo ║ A> C: Change to C drive ║
echo ║ C> CD \JORF Change to JORF directory ║
echo ║ C> JORF386 TUTORIAL Run JORF836 with TUTORIAL ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════════════════╝
Goto Exit
:InstWIN
cls
echo Installing WIN Version
echo Creating \JORF Directory
mkdir c:\jorf
echo Copying JORF.ME file. You can Read this for program notes.
copy jorf.me c:\jorf
echo Unzipping JORFWIN program. Add to program manager to run.
pkunzip jorfwin.zip c:\jorf
echo Unzipping sample files. Run TUTORIAL.J for a look-see tour.
pkunzip jorffils.zip c:\jorf
pkunzip jorfhelp.zip c:\jorf
if exist jorfdocs.zip echo Unzipping Manual. Type PRINT JORFMAN.TXT to print on your printer.
if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
cls
echo ╔════════════════════ Installation Complete ════════════════════╗
echo ║ The JORF Interpreter and Tutorial are now in installed on ║
echo ║ your hard disk. To complete the installation, you must add ║
echo ║ the icons to the program manager. You might want to do a ║
echo ║ printscreen now to record the following instructions: ║
echo ║ ║
echo ║ Go to the program manager and select File, New. Enter: ║
echo ║ ║
echo ║ Description JORF ║
echo ║ Command Line C:\JORF\JORFWIN.EXE ║
echo ║ ║
echo ║ Press ENTER to save the program, then click on the blue goat ║
echo ║ to run JORF. Once you start JORF, select Help,Tutorial to ║
echo ║ run the JORF Tutorial. ║
echo ║ ║
echo ║ The JORF Manual has also been installed. Just print ║
echo ║ JORFMAN.TXT on any dot matrix or laser printer. The manual ║
echo ║ is about 380 pages long. It is called JORFMAN.TXT. ║
echo ╚═══════════════════════════════════════════════════════════════╝
Goto Exit
:InstALL
cls
echo Installing Everything!
echo Creating \JORF Directory
mkdir c:\jorf
echo Copying JORF.ME file. You can Read this for program notes.
copy jorf.me c:\jorf
echo Copying JORF program. Type JORF to run JORF PC Interpreter.
copy jorf.exe c:\jorf
copy jorf.ini c:\jorf
echo Unzipping JORF386 program. Type JORF386 to run JORF 386 Interpreter.
pkunzip jorf386.zip c:\jorf
echo Unzipping JORFWIN program. Add to program manager to run.
pkunzip jorfwin.zip c:\jorf
echo Unzipping sample files. Run TUTORIAL.J for a look-see tour.
pkunzip jorffils.zip c:\jorf
pkunzip jorfhelp.zip c:\jorf
if exist jorfdocs.zip echo Unzipping Manual. PRINT JORFMAN.TXT to print 380 pages.
if exist jorfdocs.zip pkunzip jorfdocs.zip c:\jorf
cls
echo ╔════════════════════ Installation Complete ════════════════════╗
echo ║ The JORF Interpreter and Tutorial are now in installed on ║
echo ║ your hard disk. To run the JORF and JORF386 versions, just ║
echo ║ change to C:\JORF directory and type JORF or JORF386. ║
echo ║ ║
echo ║ To complete the windows installation, you must add the icon ║
echo ║ to the program manager. You might want to do a printscreen ║
echo ║ now to record the following instructions: ║
echo ║ ║
echo ║ Go to the program manager and select File, New. Enter: ║
echo ║ ║
echo ║ Description JORF ║
echo ║ Command Line C:\JORF\JORFWIN.EXE ║
echo ║ ║
echo ║ Press ENTER to save the program, then click on the blue goat ║
echo ║ to run JORF. Once you start JORF, select Help,Tutorial to ║
echo ║ run the JORF Tutorial. ║
echo ║ ║
echo ║ The JORF Manual has also been installed. Just print ║
echo ║ JORFMAN.TXT on any dot matrix or laser printer. The manual ║
echo ║ is about 380 pages long. It is called JORFMAN.TXT. ║
echo ╚═══════════════════════════════════════════════════════════════╝
Goto Exit
:Exit